package com.huashi.dealer.modular.business.category.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "赠品分类保存参数")
public class GiftCategorySaveParam {

    @Schema(description = "分类ID，编辑时必填")
    private Long categoryId;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "父级分类ID，0表示顶级分类")
    private Long parentId;

    @Schema(description = "分类图片ID")
    private Long imageId;

    @Schema(description = "分类排序")
    private Integer sort;

    @Schema(description = "分类类型：10商品分类，20赠品分类")
    private Integer isType;

    @Schema(description = "商品类型：10普通，20返利商品，30核销商品")
    private Integer isGoodsType;
}
